package cn.edu.gcu.giftems.pojos;

/**
 * TODO: Description here...
 *
 * @author ZhengHQ
 * @create 2018-10-07
 * @see
 */
public class User {
    private int id;
    private String name;
    private String pwd;
    private String address;
    private String phone;

    public User() {

    }

    public User(String name, String pwd, String address, String phone) {
        this.name = name;
        this.pwd = pwd;
        this.address = address;
        this.phone = phone;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", pwd='" + pwd + '\'' +
                ", address='" + address + '\'' +
                ", phone='" + phone + '\'' +
                '}';
    }
}
